<template>
  <div id="shopping"> 
        <div v-for="(item,index) in products" :item='item' :key='index'>
            <router-link :to="{
                name:'detail',
                params:{
                    id:item.id,
                    name:item.name,
                    price:item.price
                }
            }">
            </router-link>

        </div>
  </div>
</template>

<script>
export default {
    name: 'advList',
    data(){
        return {
            products:[
                {id:1,name:'太平鸟男女装专场'},
                {id:2,name:'卡宾Cabbeen男装专场'},
                {id:3,name:'诗凡黎SEIFINI女装专场'},
            ]
        }
    }
}
</script>

<style>

</style>